package dongze.com.ckdj.persistence.dao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.util.Date;

/**
 * Created by fanqwz on 2017/8/21.
 */

@Entity
public class NamePlateUploadRecord {
    @Id
    private Long id;
    Long taskId;
    private String vin;
    private String imgIndex;
    private String imagePath;
    private String user;
    private Date time;

    @Generated(hash = 259810861)
    public NamePlateUploadRecord(Long id, Long taskId, String vin, String imgIndex,
            String imagePath, String user, Date time) {
        this.id = id;
        this.taskId = taskId;
        this.vin = vin;
        this.imgIndex = imgIndex;
        this.imagePath = imagePath;
        this.user = user;
        this.time = time;
    }

    @Generated(hash = 2008148957)
    public NamePlateUploadRecord() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getImgIndex() {
        return imgIndex;
    }

    public void setImgIndex(String imgIndex) {
        this.imgIndex = imgIndex;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
